< previous page page_530 next page >

Page 530
between these tables. In the following sections, you learn how to determine what data belongs in each table of your database.
Tables As Topics
A table is a collection of information related to a particular topic. By thinking of a key topic for the table, you can determine whether a particular piece of data fits into the table. For example, if a country club wants to track information about members and employees, the club management might be tempted to put both in the same table (because both groups refer to people). However, look at the data required for each group. Although both groups require information about a person's name, address, and phone number, the employee group also requires information about the person's Social Security number, job category, payroll, and tax status. If you were to create just one table, many of the entries would be blank for the members. You also would have to add a field to distinguish between a member and an employee. Clearly, this technique would result in a lot of wasted space. It also could result in slower processing of employee transactions or member transactions because the program would have to skip a number of records in the table. Figure 24.1 shows a database table with the two groups combined. Figure 24.2 shows the reduction in the number of fields in a member-only database table.
0530-01.jpg
Figure 24.1
Combining the employee and member tables wastes a lot of space.
0530-02.jpg
Figure 24.2
A separate database table for members has
only the relevant fields and is more efficient.
By thinking of the topic to which a table relates, you can determine more easily whether a particular piece of information belongs in the table. If the information results in wasted space for many records, the data belongs in a different table.
Data Normalization
Data normalization is the process of eliminating redundant data within a database. Taking data normalization to its fullest extent results in each piece of information in a database appearing only once, although that's not always practical.

 
< previous page page_530 next page >